<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:insert="~{common :: commomcss}"></head>
  <body>
  <!-- navbar-->
  <div th:replace="~{common :: commonheader}"></div>
  <div class="d-flex align-items-stretch">
    <div id="sidebar" class="sidebar py-3">
      <ul th:insert="~{common :: siderul}"></ul>
    </div>
    <div class="page-holder w-100 d-flex flex-wrap">
      <div class="container-fluid px-xl-5">
        <section class="py-5">
          <div class="row">
            <!-- Form Elements -->
            <div class="col-lg-12 mb-5">
              <div class="card">
                <div class="card-header">
                  <h3 class="h6 text-uppercase mb-0">
                    <td th:text="${session.grade.getGradename()}"></td>-<td th:text="${session.course.getCoursename()}"></td> |
                    点击卡片查看详情
                  </h3>
                </div>
                <div class="card-body">
                  <section class="py-5">
                    <div class="row text-dark">
                      <div class="col-lg-4 mb-4 mb-lg-0" th:each="publishe : ${publishList}">
                        <a th:href="@{/teacher/worklist(publishid=${publishe.getId()})}">
                        <div class="card rounded credit-card bg-hover-gradient-violet">
                          <div class="content d-flex flex-column justify-content-between p-4">
                            <div class="d-flex justify-content-between align-items-end pt-3">
                              <div class="text-uppercase">
                                <div class="font-weight-bold d-block">发布时间<td th:text="${publishe.getPublishtime()}"></td></div>
                                <small class="text-gray">截至日期<td th:text="${publishe.getDeadline()}"></td></small>
                              </div>
                              <h4 class="mb-0">第<td th:text="${publishe.getSeq()}"></td>次</h4>
                            </div>
                          </div>
                        </div>
                        </a>
                      </div>


                    </div>
                  </section>
                  </form>
                </div>
              </div>
            </div>
          </div>
        </section>
      </div>
    </div>
  </div>
    <!-- JavaScript files-->
    <div th:insert="~{common :: commomjs}"></div>
  </body>
</html>